export const staticRouter = [
  // 设备管理
  {
    path: "/agent",
    component: "Layout",
    name: "agent",
    meta: {
      title: "客户管理",
      icon: "document",
      hidden: false,
      params: null,
    },
    children: [
      {
        path: "agentList",
        component: "AgentManage/index",
        name: "agentList",
        meta: {
          title: "客户管理",
          icon: "document",
          hidden: false,
          alwaysShow: false,
          params: null,
        },
      },
    ],
  },
  // 设备管理
  {
    path: "/device",
    component: "Layout",
    name: "device",
    meta: {
      title: "设备管理",
      icon: "document",
      hidden: false,
      params: null,
    },
    children: [
      {
        path: "deviceList",
        component: "DeviceManage/index",
        name: "deviceList",
        meta: {
          title: "设备列表",
          icon: "document",
          hidden: false,
          alwaysShow: false,
          params: null,
        },
      },
    ],
  },
  {
    path: "/system",
    component: "Layout",
    name: "system",
    meta: {
      title: "系统管理",
      icon: "document",
      hidden: false,
      alwaysShow: true,
      params: null,
    },
    children: [
      {
        path: "CURDpage",
        component: "CURDPage/index",
        name: "CURDpage",
        meta: {
          title: "自制CURD页面",
          icon: "document",
          hidden: false,
          alwaysShow: false,
          params: null,
        },
      },
      {
        path: "userManage",
        component: "system/userManage/index",
        name: "userManage",
        meta: {
          title: "用户管理",
          icon: "document",
          hidden: false,
          alwaysShow: false,
          params: null,
        },
      },
    ],
  },
];
